package xiaomo.example.accountapi;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import xiaomo.example.accountapi.amount.bo.AmountDecreaseBo;

@FeignClient(value = "account", contextId = "amount")
public interface AmountFeignClient {
    @PostMapping("/amount/decrease")
    void decreaseMoney(@RequestBody AmountDecreaseBo amountDecreaseBO);
}
